package biz.datalk.industrialland.admin.modules.system.mapper;

import biz.datalk.industrialland.mbg.pojo.po.SysDepart;
import biz.datalk.industrialland.mbg.pojo.po.SysRole;
import biz.datalk.industrialland.mbg.pojo.po.SysUser;

import java.util.List;

/**
 * 
 * @author tarofang@163.com
 * @date 2019-08-14
 */
public interface ISysUserExtMapper {

    SysUser getUserByName(String username);

    List<SysRole> getUserRoleBySysUserid(Long sysuserid);

    List<SysDepart> getUserDepartBySysUserid(Long sysuserid);

    Integer deleteUserRoleBySysUserid(Long sysuserid);

    Integer deleteUserDepartBySysUserid(Long sysuserid);
}